package com.mall.shop.entity.product;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * (UndoLog)表实体类
 *
 * @author 龙茶清欢
 * @since 2023-01-16 15:11:28
 */
@Getter
@Setter
@TableName("undo_log")
@Schema(name = "实体", description = "映射")
public class UndoLog implements Serializable {
    private static final long serialVersionUID = -96640294897671271L;

    @TableId(value = "id" , type = IdType.AUTO)
    @Schema(description = "")
    private Long id;

    @TableField(value = "branch_id")
    @Schema(description = "")
    private Long branchId;
    
    @TableField(value = "xid")
    @Schema(description = "")
    private String xid;
    
    @TableField(value = "context")
    @Schema(description = "")
    private String context;
    
    @TableField(value = "rollback_info")
    @Schema(description = "")
    private Object rollbackInfo;
    
    @TableField(value = "log_status")
    @Schema(description = "")
    private Integer logStatus;
    
    @TableField(value = "log_created")
    @Schema(description = "")
    private Date logCreated;
    
    @TableField(value = "log_modified")
    @Schema(description = "")
    private Date logModified;
    
    @TableField(value = "ext")
    @Schema(description = "")
    private String ext;
    
}

